package com.project.service;

import com.project.entity.Class;

import java.util.List;

public interface ClassService {

    List<Class> findByMajorId(Integer majorid);

    List<Class> findByCondition(Class clazz);

    Class findById(Integer id);

    void add(Class clazz);
}
